{config_load file="$language/lang.conf" section="gv_send"}
<h1 class="contentBoxHeading">{#heading_gvsend#}</h1>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
{if $action eq 'process'}
  <tr>
    <td align="right"><br />{$LINK_DEFAULT}</td>
  </tr>
{elseif $action eq 'send'}
  <tr>
    <td>{$FORM_ACTION}<table border="0" width="100%" cellspacing="0" cellpadding="2">
       <tr>
         <td class="main">{$MAIN_MESSAGE}</td>
       </tr>
       {if $POST_MESSAGE neq ''}
       <tr>
         <td class="main">{$PERSONAL_MESSAGE}</td>
       </tr>
       <tr>
         <td class="main">{$POST_MESSAGE}</td>
       </tr>
       {/if}
	   {$HIDDEN_FIELDS}
	   <tr>
	     <td class="main">{$LINK_BACK}</td>
	     <td align="right"><br />{$LINK_SUBMIT}</td>
       </tr>
     </table>{$FORM_END}</td>
  </tr>
{elseif $action eq ''}
   <tr>
     <td class="main">{#heading_text#}</td>
   </tr>
   <tr>
     <td>{$FORM_ACTION}<table border="0" width="100%" cellspacing="0" cellpadding="2">
       <tr>
         <td class="main">{#entry_name#}<br />{$INPUT_TO_NAME}</td>
       </tr>
       <tr>
         <td class="main">{#entry_email#}<br />{$INPUT_EMAIL} {if $error_email neq ''}{$ERROR_EMAIL}{/if}</td>
       </tr>
       <tr>
         <td class="main">{#entry_amount#}<br />{$INPUT_AMOUNT} {if $error_amount neq ''}{$ERROR_AMOUNT}{/if}</td>
       </tr>
       <tr>
         <td class="main">{#entry_message#}<br />{$TEXTAREA_MESSAGE}</td>
       </tr>
     </table>
     <table border="0" width="100%" cellspacing="0" cellpadding="2">
       <tr>
		 <td></td>
         <td class="main" align="right">{$LINK_SUBMIT}</td>
       </tr>
     </table>{$FORM_END}</td>
   </tr>
{/if}
</table>